make typescript type global code example
Example: global d ts
// global.d.ts
declare interface IItem {
id: number;
title: string;
description: string;
completed: boolean;
}
// global.d.ts
declare interface IItem {
id: number;
title: string;
description: string;
completed: boolean;
}