Skip to content

--lib webworker,es6 cannot find interface in lib.es6.d.ts #8091

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

Closed
alexeagle opened this issue Apr 14, 2016 · 1 comment
Closed

--lib webworker,es6 cannot find interface in lib.es6.d.ts #8091

alexeagle opened this issue Apr 14, 2016 · 1 comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fixed A PR has been merged for this issue

Comments

@alexeagle
Copy link
Contributor

TypeScript Version:

nightly (1.9.0-dev.20160409)

Code

tsconfig

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
        "lib": ["webworker", "es6"],
        "noImplicitAny": false,
        "sourceMap": false
    },
    "exclude": [
        "node_modules"
    ]
}

any .ts sources

node_modules/typescript/lib/lib.webworker.d.ts(336,58): error TS2304: Cannot find name 'IDBObjectStoreParameters'.
node_modules/typescript/lib/lib.webworker.d.ts(404,80): error TS2304: Cannot find name 'IDBIndexParameters'.

@yuit ?

@mhegazy
Copy link
Contributor

mhegazy commented Apr 14, 2016

This is actually a bug in the generation script. these two types should be included in lib.webworker.d.ts.

@zhengbli can you take a look.

@mhegazy mhegazy added Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Apr 14, 2016
@mhegazy mhegazy added this to the TypeScript 2.0 milestone Apr 14, 2016
@zhengbli zhengbli reopened this Apr 18, 2016
@zhengbli zhengbli added Fixed A PR has been merged for this issue and removed Fixed in TSJS repo labels Apr 27, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants