7 lines
114 B
TypeScript
Raw Normal View History

// #docregion
// Declare an interaface for type safety
export interface Todo {
text: string;
done: boolean;
}