diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-08-15 09:40:30 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-15 12:40:30 -0400 |
commit | 168d92f5d254a0671a1c34ca79d7b5600084b139 (patch) | |
tree | e299eb12f7341d6665b89302acd188f6117ac2c5 /js/types.d.ts | |
parent | 0ce7b6e8701bf00ec181a72df030404aecb5bc4a (diff) |
Use typescript strict mode (#505)
Diffstat (limited to 'js/types.d.ts')
-rw-r--r-- | js/types.d.ts | 8 |
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: |