Remove config ts-ignore, explicit ts-expect-error (#9553)
This commit is contained in:
parent
229dba6b9b
commit
40fce9c69e
@ -3,8 +3,6 @@
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import pkg from '@edgeware/node-types';
|
||||
|
||||
// There is no separate types bundle for testnet at this time
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
// @ts-expect-error No definitions provided in package
|
||||
import pkg from '@docknetwork/node-types';
|
||||
|
||||
const definitions = (pkg as { spec: { 'dock-main-runtime': OverrideBundleDefinition } }).spec['dock-main-runtime'];
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
// @ts-expect-error No definitions provided in package
|
||||
import types from '@docknetwork/node-types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
|
||||
@ -3,8 +3,6 @@
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import pkg from '@edgeware/node-types';
|
||||
|
||||
const edgeware = (pkg.spec.typesBundle as { spec: { edgeware: OverrideBundleDefinition }}).spec.edgeware;
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import pkg from '@digitalnative/type-definitions/opportunity/index.js';
|
||||
// @ts-expect-error No definitions provided in package
|
||||
import { opportunityTypes } from '@digitalnative/type-definitions';
|
||||
|
||||
export default pkg as OverrideBundleDefinition;
|
||||
export default opportunityTypes as OverrideBundleDefinition;
|
||||
|
||||
@ -3,8 +3,7 @@
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import definitions from '@digitalnative/type-definitions/standard/index.js';
|
||||
// @ts-expect-error No definitions provided in package
|
||||
import { standardTypes } from '@digitalnative/type-definitions';
|
||||
|
||||
export default definitions as OverrideBundleDefinition;
|
||||
export default standardTypes as OverrideBundleDefinition;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user