diff options
author | Teddy Wing | 2020-05-06 02:01:00 +0200 |
---|---|---|
committer | Teddy Wing | 2020-05-06 02:17:02 +0200 |
commit | 5c3ee5406f842cec9e4db2e297c006b12cbf5dfc (patch) | |
tree | 848849f0c5cef25ffbdb9171303e258fdeabf004 /tsconfig.json | |
parent | 175cd65ca3fa906ab3d9b663ae932b7d01f071a5 (diff) | |
download | netflix-immersive-5c3ee5406f842cec9e4db2e297c006b12cbf5dfc.tar.bz2 |
Move `with_player` to a new module
Move this function to a new module as I'd like to use it for checking
the "Watch Credits" button.
Also change from a callback to a `Promise`. Need to include the
`Promise` lib via ES2015 in tsconfig to be able to build with promises.
Diffstat (limited to 'tsconfig.json')
-rw-r--r-- | tsconfig.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json index 7dc02bd..c521338 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,10 @@ "module": "commonjs", "target": "ES5", "outDir": "./build", - "sourceMap": true + "sourceMap": true, + "lib": [ + "ES2015" + ] }, "files": [ "src/index.ts" |