Files
api/packages/api-codec/src/AuthorityId.ts
T
Jaco Greeff dfd2e70931 Expand types & tests (#166)
* RegEx for alias

* Expand tests

* Cleanup naming

* Options & Struct tests

* Cleanup Length with tests

* Enum tests

* TODO... expand/question assumption

* Remove extra line

* Hashin tests (commented, encoding change)

* Export Type on Vector & Struct

* Test Type & Base

* Address FIXME & additional test

* Cleanup TODOs

* Add MisbehaviorReport

* Add index.ts combinators

* typo in export

* Comment typo

* Update index.ts

* Update MisbehaviorReport.ts

* Update MisbehaviorReport.spec.js

* Extract Bft, add SignedBlock (allow anonymous structures)

* <foo>Struct -> <foo>Value (for constructor args)

* AnyNumber/U8a types for inputs (PR comment)

* Comment struct generics

* Typo in comment

* Simplify StorageFunctionType construction

* Fix liniting (wtf?)

* Fix linting & tests, make more robust
2018-09-26 14:33:12 +02:00

12 lines
446 B
TypeScript

// Copyright 2017-2018 @polkadot/api-codec authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
import AccountId from './AccountId';
// Wrapper for a AuthorityId. Same as an normal AccountId, i.e. a wrapper
// around publicKey, however specialized since it specifically points to
// an authority.
export default class AuthorityId extends AccountId {
}