You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
classAnimal{feet: number;constructor(name: string,numFeet: number){}}classSize{feet: number;constructor(numFeet: number){}}leta: Animal;lets: Size;a=s;// variable 's' is used before being assigned.s=a;
Activity
orta commentedon Dec 3, 2019
Looks legit, want to submit a PR making that
declare var people?sv158 commentedon Dec 4, 2019
Orta Therox (@orta) while using
declare var, the js code generated is different.There is also a similar problem at https://github.com/microsoft/TypeScript-Handbook/blame/master/pages/Type%20Compatibility.md#L221
and https://github.com/microsoft/TypeScript-Handbook/blame/master/pages/Type%20Compatibility.md#L200