Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed declarations.d.ts for TypeScript 3.1.2 #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion declarations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ interface MediaStreamAudioSourceNode extends AudioNode {
}

interface MediaStreamAudioDestinationNode extends AudioNode {
stream: MediaStream;
readonly stream: MediaStream;
}

interface AudioBuffer {
Expand Down
1 change: 0 additions & 1 deletion es6/ApiAiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { ApiAiConstants } from "./ApiAiConstants";
import { ApiAiClientConfigurationError } from "./Errors";
import { EventRequest } from "./Request/EventRequest";
Expand Down
1 change: 0 additions & 1 deletion es6/ApiAiConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export var ApiAiConstants;
(function (ApiAiConstants) {
let AVAILABLE_LANGUAGES;
Expand Down
1 change: 0 additions & 1 deletion es6/Errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export class ApiAiBaseError extends Error {
constructor(message) {
super(message);
Expand Down
1 change: 0 additions & 1 deletion es6/Interfaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export var IStreamClient;
(function (IStreamClient) {
let ERROR;
Expand Down
1 change: 0 additions & 1 deletion es6/Request/EventRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import Request from "./Request";
export class EventRequest extends Request {
}
1 change: 0 additions & 1 deletion es6/Request/Request.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { ApiAiRequestError } from "../Errors";
import XhrRequest from "../XhrRequest";
class Request {
Expand Down
1 change: 0 additions & 1 deletion es6/Request/TextRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import Request from "./Request";
export default class TextRequest extends Request {
}
1 change: 0 additions & 1 deletion es6/XhrRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* quick ts implementation of example from
* https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise
Expand Down
Loading