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
By DesignDeprecated - use "Working as Intended" or "Design Limitation" insteadCanonicalThis issue contains a lengthy and complete description of a particular problem, solution, or design
ref: [
{
value: Number
date?: Date
}
]
total() {
var total = 0
for (var ind = this.ref.length - 1; ind >= 0; ind--) {
total += this.ref[ind].value
}
return total
}
This is totaly vaild in JS, should be in typescript too
The text was updated successfully, but these errors were encountered:
You want number (all lowercase) not Number. number is the primitive type, whereas Number is a description of the shape of instances of Number and number itself.
DanielRosenwasser
added
By Design
Deprecated - use "Working as Intended" or "Design Limitation" instead
Canonical
This issue contains a lengthy and complete description of a particular problem, solution, or design
labels
Jun 9, 2015
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
By DesignDeprecated - use "Working as Intended" or "Design Limitation" insteadCanonicalThis issue contains a lengthy and complete description of a particular problem, solution, or design
Why?
This is totaly vaild in JS, should be in typescript too
The text was updated successfully, but these errors were encountered: