Skip to content

Commit 4261095

Browse files
authored
Merge pull request #27 from parcel-bundler/fix-types
Improve types
2 parents f60deda + 9ad1d47 commit 4261095

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@parcel/source-map",
3-
"version": "2.0.0-alpha.4.12",
3+
"version": "2.0.0-alpha.4.13",
44
"main": "./dist/node.js",
55
"browser": "./dist/wasm-browser.js",
66
"license": "MIT",

src/types.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ export type ParsedMap = {|
2020
|};
2121

2222
export type VLQMap = {
23-
sources: Array<string>,
24-
sourcesContent?: Array<string | null>,
25-
names: Array<string>,
26-
mappings: string,
27-
version?: number,
28-
file?: string,
29-
sourceRoot?: string,
23+
+sources: $ReadOnlyArray<string>,
24+
+sourcesContent?: $ReadOnlyArray<string | null>,
25+
+names: $ReadOnlyArray<string>,
26+
+mappings: string,
27+
+version?: number,
28+
+file?: string,
29+
+sourceRoot?: string,
3030
...
3131
};
3232

0 commit comments

Comments
 (0)