Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore: enabled stylistic-type-checked internally#7138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
6718c2ff237b10335925c9825cb0a8fb72fbc9238eFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -56,7 +56,7 @@ export function forEachReturnStatement<T>( | ||
| function traverse(node: ts.Node): T | undefined { | ||
| switch (node.kind) { | ||
| case ts.SyntaxKind.ReturnStatement: | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. | ||
| return visitor(node asts.ReturnStatement); | ||
| case ts.SyntaxKind.CaseBlock: | ||
| case ts.SyntaxKind.Block: | ||
| case ts.SyntaxKind.IfStatement: | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -232,7 +232,7 @@ abstract class ScopeBase< | ||
| block: TBlock, | ||
| isMethodDefinition: boolean, | ||
| ) { | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I'm surprised TS allowed this - the reason this cast was there was because I think there was also some weirdness due to the cyclic nature of the files? I don't fully remmeber though MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. 🤷 | ||
| const upperScopeAsScopeBase = upperScope!; | ||
| this.type = type; | ||
| this.#dynamic = | ||
| @@ -386,7 +386,7 @@ abstract class ScopeBase< | ||
| } | ||
| protected delegateToUpperScope(ref: Reference): void { | ||
| const upper = this.upper! as AnyScope; | ||
| if (upper?.leftToResolve) { | ||
| upper.leftToResolve.push(ref); | ||
| } | ||
Uh oh!
There was an error while loading.Please reload this page.
