Codemirror.d.ts doesn't contain definitions for CodemirrorModule
micheal-hill opened this issue · 1 comments
micheal-hill commented
The definition files don't contain definitions for the CodemirrorModule, so attempting to use the module in a Typescript results in a compile error:
import {CodemirrorModule} from 'ng2-codemirror'
Error:(32, 9) TS2305: Module '"...../node_modules/ng2-codemirror/Codemirror"' has no exported member 'CodemirrorModule'.
edwardyangxin commented
Got the same error