Closed
Description
Version : 4.0.5
Given
We have a file named IShape.ts
which contains
export interface IShape {
getArea() : number;
}
When
The file is required in a file named Square.ts
which contains an implementation of the IShape
interface
import {IShape} from './IShape';
export class Square extends IShape {
constructor(protected width=0) {
}
getArea() : number {
return this.width * this.width;
}
}
and we run
$ jspm build ...
Then
jspm does a non-zero exit with
TypeScript Cannot find module './IShape'. (TS2307)
err Error: Typescript compilation failed
at file:///home/joel/Documents/Personal/open-source/typescript-jspm-seed-project/typescript-jspm-seed/jspm_packages/github/frankwallis/plugin-typescript@4.0.5/plugin.js:66:27
Finally
Is this related to #97 ?
Metadata
Metadata
Assignees
Labels
No labels