Align tsconfig to allow moduleResolution: nodenext (#728)

* Align tsconfig to allow moduleResolution: nodenext

* Adjust

* Default target flag
This commit is contained in:
Jaco
2023-03-09 16:53:32 +02:00
committed by GitHub
parent faed5b1474
commit 86281dca3a
20 changed files with 33 additions and 37 deletions
@@ -3,7 +3,7 @@
// Copyright 2016 Dan Finlay
import type { Options } from '../types';
import type { Options } from '../types.js';
import { circle } from './shape/circle.js';
import { element } from './svg/element.js';
@@ -3,7 +3,7 @@
/// <reference types="@polkadot/dev/node/test/node" />
import type { Seeder } from './types';
import type { Seeder } from './types.js';
import { seeder as newSeeder } from './seeder.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Seeder } from './types';
import type { Seeder } from './types.js';
import { isU8a, stringToU8a } from '@polkadot/util';
@@ -3,7 +3,7 @@
// Copyright 2016 Dan Finlay
import type { Seeder } from '../types';
import type { Seeder } from '../types.js';
import { SHAPE_COUNT } from '../defaults.js';
import { circle as newCircle } from '../svg/circle.js';
@@ -3,7 +3,7 @@
// Copyright 2016 Dan Finlay
import type { Seeder } from '../types';
import type { Seeder } from '../types.js';
import { SHAPE_COUNT } from '../defaults.js';
import { rect as newRect } from '../svg/rect.js';
+1 -1
View File
@@ -7,7 +7,7 @@
//
// https://github.com/paritytech/oo7/blob/251ba2b7c45503b68eab4320c270b5afa9bccb60/packages/polkadot-identicon/src/index.jsx
import type { Circle, Options } from './types';
import type { Circle, Options } from './types.js';
import { blake2AsU8a, decodeAddress } from '@polkadot/util-crypto';