[core] Add number-format expression

This commit is contained in:
Juha Alanen
2019-06-03 15:34:13 +03:00
committed by Juha Alanen
parent 81ea5d020e
commit 0ca8ea6f16
25 changed files with 533 additions and 7 deletions

View File

@@ -42,7 +42,8 @@ type::Type parseType(v8::Local<v8::Object> type) {
{"object", type::Object},
{"color", type::Color},
{"value", type::Value},
{"formatted", type::Formatted}
{"formatted", type::Formatted},
{"number-format", type::String}
};
v8::Local<v8::Value> v8kind = Nan::Get(type, Nan::New("kind").ToLocalChecked()).ToLocalChecked();