Change module name to "ash.ts" instead of "ash" in dist/ash.d.ts
andresa88 opened this issue · 1 comments
andresa88 commented
This way you can import the ash modules in a typescript based project like so:
import { Engine, Entity } from "ash.ts";
let engine:Engine = new Engine();
when ash.ts is installed under the project's local node_modules/ directory. This way no path aliases need to be added to the project's tsconfig.json or webpack.config.js configuration files, it will just work.
icek commented