Skip to content

Fixed wrong null explicit assignment

Choose a tag to compare

@moshegottlieb moshegottlieb released this 07 Oct 15:10
· 14 commits to master since this release
class Nullable extends JSONObject {
    @optional
    value?:string;
}
let n = new Nullable({ "value":null })
// this would result in n.value == "null" (as string)
// this release fixes this bug