visual studio - Why is typescript telling me "Cannot compile external modules unless the --module flag is provided? -
i getting typescript error message indicated in title above. included here 1 example of doesn't like... if click on error message takes me in iglobals definition below.
export interface iglobals { homepageurl: string; loginpageurl: string; timeout: number; changed(url: string) }
i using vs2013 these settings. no matter value choose "module system" still error. i'm running version 1.5.0 beta of typescript (which issue, not sure)...
wrap code in module...
module mymodule{ export interface iglobals { homepageurl: string; loginpageurl: string; timeout: number; changed(url: string) } }
Comments
Post a Comment