Determines whether writing to a certain property of a given type is allowed.
declare const property: ts.Symbol;declare const type: ts.Type;declare const typeChecker: ts.TypeChecker;if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { // ...} Copy
declare const property: ts.Symbol;declare const type: ts.Type;declare const typeChecker: ts.TypeChecker;if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { // ...}
Determines whether writing to a certain property of a given type is allowed.