Skip to content

Commit

Permalink
chore(gatsby): Fix index.d.ts file (#33805)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts authored Nov 2, 2021
1 parent 144daaa commit 6c5de79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const useScrollRestoration: (key: string) => {
onScroll(): void
}

class StaticQueryDocument {
export class StaticQueryDocument {
/** Prevents structural type widening. */
#kind: "StaticQueryDocument"

Expand Down
4 changes: 0 additions & 4 deletions scripts/check-ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ let packagesWithTs = packages
ignore: `**/node_modules/**`,
}).length
)
// TEMPORARILY NOT CHECKING GATSBY-ADMIN
// Gatsby admin is filled with type bugs, and i'm not sure the best way to solve it
// because they are coming from theme-ui.
.filter(path => !path.includes(`gatsby-admin`))

if (filterPackage) {
packagesWithTs = packagesWithTs.filter(project =>
Expand Down

0 comments on commit 6c5de79

Please sign in to comment.