* Use .js imports in src * Adjust * Fix imports * Bump dev * Adjust with .js imports for typegen * Adjust * Adjust * Remove target override
12 lines
421 B
TypeScript
12 lines
421 B
TypeScript
// Copyright 2017-2023 @polkadot/api-derive authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { AccountId } from '@polkadot/types/interfaces';
|
|
|
|
import { callMethod } from './helpers.js';
|
|
|
|
// We are re-exporting these from here to ensure that *.d.ts generation is correct
|
|
export type { AccountId } from '@polkadot/types/interfaces';
|
|
|
|
export const members = callMethod<AccountId[]>('members', []);
|