mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-07 02:30:12 +00:00
Restore 2.2 compatibility; add ambient decls
This commit is contained in:
7
types/emscripten/index.d.ts
vendored
7
types/emscripten/index.d.ts
vendored
@@ -3,7 +3,12 @@
|
||||
// Definitions by: Kensuke Matsuzaki <https://github.com/zakki>
|
||||
// Periklis Tsirakidis <https://github.com/periklis>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 3.5
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
/** Other WebAssembly declarations, for compatibility with older versions of Typescript */
|
||||
declare namespace WebAssembly {
|
||||
interface Module { }
|
||||
}
|
||||
|
||||
declare namespace Emscripten {
|
||||
interface FileSystemType {
|
||||
|
||||
7
types/webassembly-web-api/index.d.ts
vendored
7
types/webassembly-web-api/index.d.ts
vendored
@@ -2,7 +2,7 @@
|
||||
// Project: https://webassembly.org/
|
||||
// Definitions by: Johannes Henninger <https://github.com/jhenninger>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 3.5
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
/**
|
||||
* The WebAssembly Web API defines extensions to the JavaScript API made
|
||||
@@ -10,6 +10,11 @@
|
||||
* API](https://www.w3.org/TR/wasm-web-api-1/) for more information.
|
||||
*/
|
||||
declare namespace WebAssembly {
|
||||
/// Other WebAssembly declarations, for compatibility with older versions of Typescript
|
||||
// tslint:disable-next-line no-empty-interface
|
||||
interface Module { }
|
||||
// tslint:disable-next-line no-empty-interface
|
||||
interface Instance { }
|
||||
interface ResultObject {
|
||||
module: Module;
|
||||
instance: Instance;
|
||||
|
||||
Reference in New Issue
Block a user