You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @ts-ignore Hjson.rt.* is needed for the comments, but only exists in version 3. But the types are only available for version 2.
654
-
// TODO: remove! Only for debugging later stages; simple JSON parsing to be replaced with real TS parsing
655
-
//metadataObject = Hjson.rt.parse(metadata[0].initializer.getFullText()) as ClassInfo; // parse with some fault tolerance: it's not a real JSON object, but JS code which may contain comments and property names which are not enclosed in double quotes
656
-
}catch(e){
657
-
thrownewError(
658
-
`When parsing the metadata of ${className} in ${fileName}: metadata is no valid JSON and could not be quick-fixed to be. Please make the metadata at least close to valid JSON. In particular, TypeScript type annotations cannot be used. Error: ${
0 commit comments