Why are there 2 names for String type while using ternjs?

#1

When a type name is returned for string type in ternjs, the returned json has either type name ‘string’ or ‘String’.
Why is that?