fix(jslib): 🚨 fix lint fail due to missing type-only imports
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
91cfa6a2da
commit
6e78fa250c
|
@ -10,12 +10,15 @@
|
|||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module",
|
||||
"project": "./tsconfig.json"
|
||||
},
|
||||
"plugins": [
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/consistent-type-exports": "error",
|
||||
"@typescript-eslint/consistent-type-imports": "error"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import LRU from "lru-cache";
|
||||
import { UpListing, UpObject } from ".";
|
||||
import type { UpObject } from ".";
|
||||
import { UpListing } from ".";
|
||||
import type {
|
||||
ADDRESS_TYPE,
|
||||
Address,
|
||||
|
@ -17,7 +18,7 @@ import type { UpEndWasmExtensions, AddressComponents } from "./wasm";
|
|||
import debug from "debug";
|
||||
const dbg = debug("upend:api");
|
||||
|
||||
export { AddressComponents };
|
||||
export type { AddressComponents };
|
||||
|
||||
export class UpEndApi {
|
||||
private instanceUrl = "";
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
import {
|
||||
AddressComponents,
|
||||
AddressTypeConstants,
|
||||
UpEndWasmExtensions,
|
||||
} from ".";
|
||||
import type { AddressComponents, AddressTypeConstants } from ".";
|
||||
import { UpEndWasmExtensions } from ".";
|
||||
import {
|
||||
addr_to_components,
|
||||
components_to_addr,
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
import {
|
||||
AddressComponents,
|
||||
AddressTypeConstants,
|
||||
UpEndWasmExtensions,
|
||||
} from ".";
|
||||
import type { AddressComponents, AddressTypeConstants } from ".";
|
||||
import { UpEndWasmExtensions } from ".";
|
||||
import type { InitInput } from "@upnd/wasm-web";
|
||||
import {
|
||||
addr_to_components,
|
||||
components_to_addr,
|
||||
AddressComponents as WasmAddresComponents,
|
||||
AddressTypeConstants as WasmAddresTypeConstants,
|
||||
InitInput,
|
||||
} from "@upnd/wasm-web";
|
||||
import init_wasm from "@upnd/wasm-web";
|
||||
|
||||
|
|
Loading…
Reference in New Issue