When trying to compile my TypeScript project that utilizes Google Apps Script typings, I'm encountering the following error message:
node_modules/@types/google-apps-script/google-apps-script.base.d.ts:538:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'MimeType' must be of type '{ new (): MimeType; prototype: MimeType; }', but here has type 'MimeType'.
538 declare var MimeType: GoogleAppsScript.Base.MimeType;
~~~~~~~~
../../../../usr/local/lib/node_modules/typescript/lib/lib.dom.d.ts:15485:13
15485 declare var MimeType: {
~~~~~~~~
'MimeType' was also declared here.
Found 1 error in node_modules/@types/google-apps-script/google-apps-script.base.d.ts:538
It seems that there is a mismatch in the type declaration of MimeType between
node_modules/@types/google-apps-script/google-apps-script.base.d.ts
and
../../../../usr/local/lib/node_modules/typescript/lib/lib.dom.d.ts.
When trying to compile my TypeScript project that utilizes Google Apps Script typings, I'm encountering the following error message:
It seems that there is a mismatch in the type declaration of MimeType between
node_modules/@types/google-apps-script/google-apps-script.base.d.ts
and../../../../usr/local/lib/node_modules/typescript/lib/lib.dom.d.ts.