Skip to content

Commit

Permalink
chore(internal): Disable tsconfig suppressions (#10981)
Browse files Browse the repository at this point in the history
## Description
There's a note in the tsconfig.json for package "internal" implying that `@endo/init` requires `noImplicitAny`, but removing the special casing now seems to work (and removing `"checkJs": false` caught some TS issues).
  • Loading branch information
gibson042 authored Feb 11, 2025
1 parent 46061c3 commit acbb5da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions packages/internal/src/priority-senders.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { Fail, q } from '@endo/errors';
import { E, Far } from '@endo/far';

/** @import {ERef} from '@endo/far'; */
/** @import {StorageNode} from './lib-chainStorage.js'; */

const PRIORITY_SENDERS_NAMESPACE_RE = /^[a-zA-Z0-9_-]{1,50}$/;

/** @type {(namespace: string) => string} */
Expand Down
6 changes: 1 addition & 5 deletions packages/internal/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// This file can contain .js-specific Typescript compiler config.
{
"extends": "../../tsconfig.json",
"compilerOptions": {
// Disable b/c @endo/init can't pass noImplicitAny
"checkJs": false,
"noImplicitAny": true,
},
"compilerOptions": {},
"include": [
"src",
"test",
Expand Down

0 comments on commit acbb5da

Please sign in to comment.