list of type in typescript code example
Example 1: typescript array
let list: number[] = [1, 2, 3];
Example 2: types function typescript
interface Param {
title: string;
callback: function;
}
let list: number[] = [1, 2, 3];
interface Param {
title: string;
callback: function;
}