Jump to content

TypeScript


GameMonetize
 Share

Recommended Posts

I have updated the typescript to 1.6 in Visual Studio 2013.

 

I have the babylon.2.1.ts plus the typing downloaded from the git repository but I am still getting some errors. I guess I am missing some js or ts file but I don't know which one.

 

Also, the babylon.2.1.d.ts file clash with the lib.d.ts. Is there a recommended configuration for this?

 

 

TypingErrors.PNG

Link to comment
Share on other sites

I have verified that I was using 1.6

 

The problem was that I had a local version of the lib.d.ts in my project. 

 

I have delete that and I still have some issues, but not related with the audio thing:

 

Error 3533 Build: Duplicate identifier 'URL'. C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.6\lib.d.ts 16032 5 TerrainGenerator.WebClient
Error 3531 Duplicate identifier 'URL'. C:\Personal\TerrainGeneratorTS\TerrainGenerator.WebClient\Scripts\typings\babylon.2.2.d.ts 307 5 TerrainGenerator.WebClient
 
That I don't know why is happening but is maybe something where you could help me. 
 
Could you? :)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...