Skip to content

Commit 67e0eb5

Browse files
author
unennhexium
committed
Add leading ./ to elimitate error
TS5090: Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'? (cherry picked from commit 1c9a970)
1 parent d415e7d commit 67e0eb5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/tsconfig-wo-baseurl.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
// comments should work
33
"compilerOptions": {
44
"paths": {
5-
"@foobar": ["test/foo/bar"],
6-
"@foobar-react": ["test/foo/bar-react"],
7-
"@bar/*": ["test/bar/*"],
8-
"bar/*": ["test/bar/*"],
9-
"@js": ["test/js"],
10-
"$/*": ["test/*"]
5+
"@foobar": ["./test/foo/bar"],
6+
"@foobar-react": ["./test/foo/bar-react"],
7+
"@bar/*": ["./test/bar/*"],
8+
"bar/*": ["./test/bar/*"],
9+
"@js": ["./test/js"],
10+
"$/*": ["./test/*"]
1111
}
1212
}
1313
}

0 commit comments

Comments
 (0)