These .d.ts
files are meant to be used in your MagicScript application to enable code completion in VS Code.
- Get documentation source code and install dependencies
git clone https://github.com/magic-script/magic-script-typings.git --recursive
cd magic-script-typings
npm install
- Make your changes and test them locally
npm run build
npx http-serve website/gh-pages -p 5000
- Publish new website to gh-pages
cd website/gh-pages
git commit
git push
- Create a new branch based on the latest version branch with the changed typescript headers.
- Add a new submodule to website.
- Update
.tsd-filter-version
inwebsite/theme/partials/header.hbs
to add the new version. - Update
website/build.sh
with the new version.
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details