1
私はクラスとインターフェイスを含む以下のコードを持っています。何らかの理由でVisual Studioが "RouteInterfaceという名前を見つけることができません"という叫び声をしています。理由はわかりません。Typescript名前 'XInterface'を見つけることができません
import {Student} from './student';
export interface RouteInterface{
id: number;
startTime: Date;
endTime: Date;
neighborhood: string;
students: Student[];
tooltip: string;
tooltipcls: string;
icon: string;
}
export class Route extends RouteInterface {
id: number;
startTime: Date;
endTime: Date;
neighborhood: string;
students: Student[];
tooltip: string;
tooltipcls: string;
icon: string;
}
私は愚かな感じ#$#@ @ .. – gilmishal
あなたが;-)それが簡単だべきではありません!他人のコードでこれを見てください... –