References for api augmentation (#4346)

* References for api augmentation

* Adjust

* Progress... let's see where it leads

* It compiles...

* Adjust

* CC ignore
This commit is contained in:
Jaco
2021-12-17 12:26:26 +02:00
committed by GitHub
parent 5062ee602f
commit 664e9e8f26
50 changed files with 720 additions and 129 deletions
+9
View File
@@ -0,0 +1,9 @@
// Copyright 2017-2021 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [typesInfo]);