Comments (9)
Here is the archive:
http://d.defold.com/archive/{sha1}/engine/share/ref-doc.zip
And {sha1} is from here:
http://d.defold.com/stable/info.json
You can generate it with my Python script:
https://github.com/dasannikov/DefoldTypeScript/blob/master/defold_json_to_ts.py
from defoldtypescript.
Thx for the reply. I'm currently evaluating DefoldTypeScript. If I will use it, I will definitely try to contribute where I can.
from defoldtypescript.
I am working on some updates to this over here @ts-defold/types although the whole thing is much more ambitious than just types.
Thanks @dasannikov for spiking this, I have some updates to the python script that I am going to be submitting a PR for over the weekend. I think it would be very valuable to keep this system up-to-date in case people have disagreeing philosophies with what I am trying to accomplish with @ts-defold.
TypeScriptToLua has made a lot of changes, and there was a considerable amount of work to get the generated types up to date.
Going to be giving you a credit on the stuff I am working on in the readme, but will be re-writing a new type generator in typescript for my projects.
from defoldtypescript.
@dasannikov this is what you are looking for https://github.com/ts-defold/type-gen 👍
from defoldtypescript.
Python script defold_json_to_ts.py generate defold.d.ts file from Defold documentation.
from defoldtypescript.
Maybe i'll prepare better way to update.
from defoldtypescript.
Ok maybe this is a stupid question, but where can I get the defold json files to generate new up to date type definitions?
from defoldtypescript.
Any commits and updates to this repo are welcome!
from defoldtypescript.
will be re-writing a new type generator in typescript for my projects.
Good idea to use TS instead of Python for generator.
It will be nice to create one npm package for all stuff including generation *.d.ts
file for Defold on the fly [using some npm post-install auto script]
from defoldtypescript.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from defoldtypescript.