AlexB Posted August 4, 2014 Share Posted August 4, 2014 Hi, running into a problem while getting started with the library. I'm working on a TypeScript project, and the library doesn't ship with the d.ts files. It does provide a gulp task to build the declaration file, but it seems to be broken: https://github.com/BabylonJS/Babylon.js/issues/221 So my question is: does anyone have a working TypeScript declaration file they can post? Or failing that, help with creating one from the source? I have the latest tsc (1.0.1.0) and gulp installed. Thanks! Quote Link to comment Share on other sites More sharing options...
AlexB Posted August 4, 2014 Author Share Posted August 4, 2014 I found the answer to this, should it affect anyone else.The path name is too long in most user's folder structure, eg. C:/users/me/documents/work/babylonI cloned the repo into C:/b/ and ran the build tool:gulp typescriptThis successfully created the babylon.d.ts file in the Gulp folder. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.