Closed icopp closed 7 years ago
For a simple example:
@Prop value = p({ type: String, default: '' }) tempValueCopy: string = this.value
...results in an error:
'Type 'String' is not assignable to type 'string'. 'string' is a primitive, but 'String' is a wrapper object. Prefer using 'string' when possible.'
https://github.com/HerringtonDarkholme/av-ts/wiki/FAQ#4-var-num-number--ptype-number-does-not-work
For a simple example:
...results in an error: