Why does the following code not cause a compile-time error?
import * as React from \'react\'; export class Test extends React.Component { private _onRefere