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

Running examples fails to compile #255

Open
jonniespratley opened this issue Oct 1, 2021 · 0 comments
Open

Running examples fails to compile #255

jonniespratley opened this issue Oct 1, 2021 · 0 comments

Comments

@jonniespratley
Copy link

1st issue - Is that Document was not defined when trying to compile.

tsconfig.json was resolved with the following fix:

"lib": ["es2016", "DOM"],

2nd Issue - Is that launcher.ts compiles with this error:

src/launcher/launcher.ts:90:15 - error TS2322: Type '{ filename: string; data: any; }' is not assignable to type 'string'.
90               {
91                 filename: 'log.json',
92                 data: results,
93               },

src/launcher/launcher.ts:94:15 - error TS2322: Type '{ filename: string; data: { someLog: any; }; }' is not assignable to type 'string'.
 94               {
                  ~
 95                 filename: 'old-log.json',
... 
 98                 }
 99               },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant