I'm declaring this:
export interface Interface {
func: string[][] => string[][];
}
And I'm getting this:
error TS1005: ';' expected.
func: string[][] => string[][];
~~
error TS1131: Property or signature expected.
func: string[][] => string[][];
~~~~~~
error TS1011: An element access expression should take an argument.
func: string[][] => string[][];
error TS1011: An element access expression should take an argument.
func: string[][] => string[][];
error TS1128: Declaration or statement expected.
}
~
What is the correct syntax here?
(arg: string[][])