animate/webGl/my-threejs-test/node_modules/@mischnic/json-sourcemap/dist/index.js.flow

29 lines
483 B
Plaintext

// @flow strict
export type Position = {|
line: number,
column: number,
pos: number,
|};
export type Mapping =
| {|
value: Position,
valueEnd: Position,
|}
| {|
value: Position,
valueEnd: Position,
key?: Position,
keyEnd?: Position,
|};
declare export function parse(
json: string,
reviver?: (key: any, value: any) => any,
options?: {| tabWidth?: number, dialect?: "JSON5" | "JSON" |}
): {|
data: any,
pointers: {| [key: string]: Mapping |},
|};