the new version of aldeed:simple-schema is also available as an npm package for non meteor apps. Since I use webpack I want to import simple-schema into an app written in typescript.
First I skiped the type definition by declare var SimpleSchema: any;
which works fine. Second I tried to import SimpleSchema by adding this:
import * as SimpleSchema from 'simpl-schema';
simpl-schema (without ‘e’) exists in the node-modules folder but I got the error Module build failed: Error: ...app.component.ts (2,31): Cannot find module 'simpl-schma'.)