UNPKG

@neo-one/smart-contract-compiler-esnext-esm

Version:

NEO•ONE TypeScript smart contract compiler.

11 lines (9 loc) 319 B
import { tsUtils } from '@neo-one/ts-utils-esnext-esm'; export function getForwardedValueType(type) { const aliasTypes = tsUtils.type_.getAliasTypeArgumentsArray(type); if (aliasTypes.length === 1) { return aliasTypes[0]; } return undefined; } //# sourceMappingURL=getForwardedValueType.js.map