yarn build
yarn run v1.16.0
$ NODE_ENV=production polkadot-dev-build-ts
$ /home/thib/paritytech/polkadot-js/extension/node_modules/.bin/polkadot-dev-clean-build
*** Cleaning build directory ./build
*** Cleaning build directory packages/extension/build
*** Cleaning build directory packages/extension-dapp/build
*** Cleaning build directory packages/extension-ui/build
Version 3.4.5
extension-ui/src/Popup/Signing/Details.tsx:43:38 - error TS2339: Property 'sectionName' does not exist on type 'Method'.
43 <td className='data'>{method.sectionName}.{method.methodName}</td>
~~~~~~~~~~~
extension-ui/src/Popup/Signing/Details.tsx:43:59 - error TS2339: Property 'methodName' does not exist on type 'Method'.
43 <td className='data'>{method.sectionName}.{method.methodName}</td>
~~~~~~~~~~
extension-ui/src/messaging.ts:9:23 - error TS7016: Could not find a declaration file for module 'extensionizer'. '/home/thib/paritytech/polkadot-js/extension/node_modules/extensionizer/index.js' implicitly has an 'any' type.
Try `npm install @types/extensionizer` if it exists or add a new declaration (.d.ts) file containing `declare module 'extensionizer';`
9 import extension from 'extensionizer';
~~~~~~~~~~~~~~~
extension-ui/src/messaging.ts:27:29 - error TS7006: Parameter 'data' implicitly has an 'any' type.
27 port.onMessage.addListener((data) => {
~~~~
extension/src/background/handlers/Extension.ts:11:10 - error TS2305: Module '"../../../../../node_modules/@polkadot/types"' has no exported member 'SignaturePayloadRaw'.
11 import { SignaturePayloadRaw } from '@polkadot/types';
~~~~~~~~~~~~~~~~~~~
extension/src/background/handlers/Extension.ts:43:45 - error TS2339: Property 'meta' does not exist on type 'KeyringPair'.
43 keyring.saveAccountMeta(pair, { ...pair.meta, name });
~~~~
extension/src/background/handlers/Extension.ts:120:16 - error TS2322: Type '() => string' is not assignable to type 'string'.
120 address: keyring.createFromUri(seed, {}, type).address,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extension/src/background/handlers/Extension.ts:120:16
120 address: keyring.createFromUri(seed, {}, type).address,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Did you mean to call this expression?
extension/src/background/handlers/Extension.ts:130:16 - error TS2322: Type '() => string' is not assignable to type 'string'.
130 address: keyring.createFromUri(seed, {}, type).address,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extension/src/background/handlers/Extension.ts:130:16
130 address: keyring.createFromUri(seed, {}, type).address,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Did you mean to call this expression?
extension/src/background/handlers/State.ts:7:23 - error TS7016: Could not find a declaration file for module 'extensionizer'. '/home/thib/paritytech/polkadot-js/extension/node_modules/extensionizer/index.js' implicitly has an 'any' type.
Try `npm install @types/extensionizer` if it exists or add a new declaration (.d.ts) file containing `declare module 'extensionizer';`
7 import extension from 'extensionizer';
~~~~~~~~~~~~~~~
extension/src/background/index.ts:5:23 - error TS7016: Could not find a declaration file for module 'extensionizer'. '/home/thib/paritytech/polkadot-js/extension/node_modules/extensionizer/index.js' implicitly has an 'any' type.
Try `npm install @types/extensionizer` if it exists or add a new declaration (.d.ts) file containing `declare module 'extensionizer';`
5 import extension from 'extensionizer';
~~~~~~~~~~~~~~~
extension/src/background/index.ts:9:19 - error TS2305: Module '"../../../../node_modules/@polkadot/ui-keyring"' has no exported member 'ExtensionStore'.
9 import keyring, { ExtensionStore } from '@polkadot/ui-keyring';
~~~~~~~~~~~~~~
extension/src/background/index.ts:20:42 - error TS7006: Parameter 'port' implicitly has an 'any' type.
20 extension.runtime.onConnect.addListener((port) => {
~~~~
extension/src/background/index.ts:25:31 - error TS7006: Parameter 'data' implicitly has an 'any' type.
25 port.onMessage.addListener((data) => handlers(data, port));
~~~~
extension/src/content.ts:5:23 - error TS7016: Could not find a declaration file for module 'extensionizer'. '/home/thib/paritytech/polkadot-js/extension/node_modules/extensionizer/index.js' implicitly has an 'any' type.
Try `npm install @types/extensionizer` if it exists or add a new declaration (.d.ts) file containing `declare module 'extensionizer';`
5 import extension from 'extensionizer';
~~~~~~~~~~~~~~~
extension/src/content.ts:13:29 - error TS7006: Parameter 'data' implicitly has an 'any' type.
13 port.onMessage.addListener((data) => {
~~~~
Found 15 errors.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.