nl_tokens: In an object literal contextually typed by a type T the contextual type of a property assignment is the type of the matching property in T if one exists . Otherwise it is the type of the numeric index signature in T if one exists . Otherwise it is the type of the string index signature in T if one exists .
pl_tokens: function getContextualTypeForObjectLiteralMethod ( node ) { ts . Debug . assert ( <mask> . isObjectLiteralMethod ( node ) ) ; if ( isInsideWithStatementBody ( node ) ) { // We cannot answer semantic questions within a with block, do not proceed any further return undefined ; } return getContextualTypeForObjectLiteralElement ( node ) ; }