Skip to content

Commit 6c5de79

Browse files
authored
chore(gatsby): Fix index.d.ts file (gatsbyjs#33805)
1 parent 144daaa commit 6c5de79

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/gatsby/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const useScrollRestoration: (key: string) => {
3030
onScroll(): void
3131
}
3232

33-
class StaticQueryDocument {
33+
export class StaticQueryDocument {
3434
/** Prevents structural type widening. */
3535
#kind: "StaticQueryDocument"
3636

scripts/check-ts.js

-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ let packagesWithTs = packages
3636
ignore: `**/node_modules/**`,
3737
}).length
3838
)
39-
// TEMPORARILY NOT CHECKING GATSBY-ADMIN
40-
// Gatsby admin is filled with type bugs, and i'm not sure the best way to solve it
41-
// because they are coming from theme-ui.
42-
.filter(path => !path.includes(`gatsby-admin`))
4339

4440
if (filterPackage) {
4541
packagesWithTs = packagesWithTs.filter(project =>

0 commit comments

Comments
 (0)