Skip to content

Commit b98fff2

Browse files
committed
fix(list): export IListResult so declaration emit can name it
`index.ts#list` returns it from an exported class, and tsconfig has `declaration: true`, so tsc needs the type to be nameable: TS4053 "Return type of public method from exported class has or is using name 'IListResult' ... but cannot be named".
1 parent b337678 commit b98fff2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/subCommands/list/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
tableShow,
1313
} from '../../utils';
1414

15-
interface IListResult {
15+
export interface IListResult {
1616
functions?: unknown[];
1717
nextToken?: string;
1818
}

0 commit comments

Comments
 (0)