-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(copybara): sync commits from Aspect-internal silo (#485)
Co-authored-by: Jason Bedard <[email protected]>
- Loading branch information
1 parent
6abb4bf
commit 2d6d8cb
Showing
7 changed files
with
27 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# gazelle:js_ignore_imports mystery-module | ||
# gazelle:js_ignore_imports unknown-library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
load("@aspect_rules_ts//ts:defs.bzl", "ts_project") | ||
|
||
# gazelle:js_ignore_imports mystery-module | ||
# gazelle:js_ignore_imports unknown-library | ||
|
||
ts_project( | ||
name = "parse_errors", | ||
srcs = [ | ||
"bad.ts", | ||
"globals.d.ts", | ||
"good.ts", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +0,0 @@ | ||
subbuild/subbuild-bad.ts: | ||
4: bad | ||
^ | ||
|
||
subdir/subdir-bad.ts: | ||
3: bad SyntaxError on line 3() | ||
^ | ||
|
||
bad.ts: | ||
2: looks like some bad syntax here | ||
^ | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
declare module '*.module.css' { | ||
const classes: { readonly [key: string]: string } | ||
export default classes | ||
} | ||
|
||
export type { I1 } from 'mystery-module' | ||
export { numberFunc } from 'unknown-library' | ||
export interface I2 {} | ||
|
||
export interface CreatePreloadedQueryResult<D extends object, V extends I1> { | ||
queryLoader: (variables: V) => Promise<Record<string, I2 | undefined>> | ||
usePreloadedQueryData: () => ReturnType<typeof numberFunc> | ||
} |