summaryrefslogtreecommitdiff
path: root/js/types.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-08-15 09:40:30 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-08-15 12:40:30 -0400
commit168d92f5d254a0671a1c34ca79d7b5600084b139 (patch)
treee299eb12f7341d6665b89302acd188f6117ac2c5 /js/types.d.ts
parent0ce7b6e8701bf00ec181a72df030404aecb5bc4a (diff)
Use typescript strict mode (#505)
Diffstat (limited to 'js/types.d.ts')
-rw-r--r--js/types.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/types.d.ts b/js/types.d.ts
index 85eda0cd0..110873c6b 100644
--- a/js/types.d.ts
+++ b/js/types.d.ts
@@ -2,10 +2,10 @@
export type TypedArray = Uint8Array | Float32Array | Int32Array;
export interface ModuleInfo {
- moduleName?: string;
- filename?: string;
- sourceCode?: string;
- outputCode?: string;
+ moduleName: string | null;
+ filename: string | null;
+ sourceCode: string | null;
+ outputCode: string | null;
}
// Following definitions adapted from: