Skip to content

Commit

Permalink
fix: typedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
isordo committed Oct 4, 2023
1 parent f69e2b0 commit 08bf0dd
Show file tree
Hide file tree
Showing 10 changed files with 461 additions and 457 deletions.
2 changes: 1 addition & 1 deletion e2e/permission-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const rune2e = async () => {
)
).asElement()
if (desktopWallet) {
await desktopWallet.click()
await (desktopWallet as any).click()
}
const pairingPage = await newPagePromise
const pairingUrl = pairingPage.url()
Expand Down
889 changes: 445 additions & 444 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sonar-scanner": "sonar-scanner",
"prepare": "npm run build",
"check-version": "ts-node --project tsconfig-cjs.json scripts/check-sdk-version.ts",
"typedoc": "typedoc src/index.ts --includeVersion --internal-aliases publicapi --external-aliases internalapi --logLevel Verbose --listInvalidSymbolLinks && ts-node --project tsconfig-cjs.json scripts/process-docs.ts",
"typedoc": "typedoc --entryPointStrategy expand ./packages --excludeExternals --externalPattern \"**/node_modules/**\" --includeVersion --includes publicapi --externalPattern internalapi --logLevel Verbose --validation && ts-node --project tsconfig-cjs.json scripts/process-docs.ts",
"publish": "lerna run tsc && lerna publish",
"bump:version": "lerna version --no-git-tag-version --exact",
"bump:major": "lerna version --no-git-tag-version major --exact --yes",
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-dapp/__tests__/p2p-transport.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe(`P2PTransport`, () => {
const keypair = await getKeypairFromSeed('test')
const localStorage = new LocalStorage()

transport = new DappP2PTransport('Test', keypair, localStorage, [])
transport = new DappP2PTransport('Test', keypair, localStorage, [] as any)
})

it(`should be supported`, async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/beacon-ui/src/components/qr/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, createEffect, createSignal } from 'solid-js'
import { getTzip10Link } from 'src/utils/get-tzip10-link'
import { getQrData } from 'src/utils/qr'
import { getTzip10Link } from '../../utils/get-tzip10-link'
import { getQrData } from '../../utils/qr'
import styles from './styles.css'

const COPY_RESET_TIMEOUT = 3000
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-ui/src/components/toast/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, For, createEffect, createSignal } from 'solid-js'
import { CloseIcon } from '../icons'
import Loader from '../loader'
import { isMobileOS } from 'src/utils/platform'
import { isMobileOS } from '../../utils/platform'

function parseWallet(
inputString: string,
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-ui/src/components/top-wallets/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, For } from 'solid-js'
import { MergedWallet } from 'src/utils/wallets'
import { MergedWallet } from '../../utils/wallets'
import Wallet from '../wallet'
import styles from './styles.css'

Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-ui/src/components/wallets/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, For } from 'solid-js'
import { MergedWallet } from 'src/utils/wallets'
import { MergedWallet } from '../../utils/wallets'
import Wallet from '../wallet'
import styles from './styles.css'

Expand Down
10 changes: 5 additions & 5 deletions packages/beacon-ui/src/ui/alert/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ import {
mergeWallets,
parseWallets,
Wallet
} from 'src/utils/wallets'
import { getTzip10Link } from 'src/utils/get-tzip10-link'
import { isAndroid, isIOS, isMobileOS, isTwBrowser } from 'src/utils/platform'
import { getColorMode } from 'src/utils/colorMode'
import PairOther from 'src/components/pair-other/pair-other'
} from '../../utils/wallets'
import { getTzip10Link } from '../../utils/get-tzip10-link'
import { isAndroid, isIOS, isMobileOS, isTwBrowser } from '../../utils/platform'
import { getColorMode } from '../../utils/colorMode'
import PairOther from '../../components/pair-other/pair-other'

// Interfaces
export interface AlertButton {
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"types": ["vite/client", "node", "chrome", "jest"],
"sourceMap": true,
"baseUrl": ".",
"jsx": "preserve",
"jsxImportSource": "solid-js",
"skipLibCheck": true,
/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
Expand Down

0 comments on commit 08bf0dd

Please sign in to comment.