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
lib/lib.d.ts error Cannot find name 'object'. #14647
Labels
Question
An issue which isn't directly actionable in code
Comments
|
I found some errors in my package,json (double entries in dev and "normal" dependencies) -> fixed it and re-installed all packages -> seems to work now. |
👍 Thanks @andy-ms |
kevmcdonk
added a commit
to kevmcdonk/BotFramework-DirectLineJS
that referenced
this issue
May 14, 2017
Using Typescript 2.3.2, hit the following error: Error - typescript - node_modules\botframework-directlinejs\built\directLine.d.ts(203,12): error TS2304: Cannot find name 'object'. Found the [following issue](microsoft/TypeScript#14647) on the Typescript repo that suggested using uppercase O due to the object keyword in Typescript 2.2. Changing this certainly fixed in my scenario.
1 task
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
TypeScript Version: 2.2.1
using gulp typescript with latest version 2.2.1 of typescript throws errors:
Expected behavior:
Compile without errors
Actual behavior:
-> renaming the lines to the following (just changed object to Object) solves the compile error
The text was updated successfully, but these errors were encountered: