Skip to content

Instantly share code, notes, and snippets.

@asterland
asterland / 0_SourceMapFileforTranslatedLocals.json
Last active October 20, 2015 02:29
This gist covers a new addition extension to the source map specfication that would allow the resolution of local variables that have been renamed.
{
"version": 3,
"file": "example.js",
"sourceRoot": "",
"sources": ["example.ts"],
"names": ["this", "_this"],
"mappings": ";AAAA,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAE,OAAO,EAAE;IACrC,KAAI,CAAC,WAAW,GAAG,aAAa;AACpC,CAAC,CAAC",
"x_ms_scopes": "AA>IA<",
"x_ms_locals": "AC,A"
}