diff --git a/js/types/TBoolean.js b/js/types/TBoolean.js index 9b2c252d..94c53751 100644 --- a/js/types/TBoolean.js +++ b/js/types/TBoolean.js @@ -10,20 +10,15 @@ define( function( require ) { 'use strict'; // modules - var assertTypeOf = require( 'PHET_IO/assertions/assertTypeOf' ); var phetioInherit = require( 'PHET_IO/phetioInherit' ); var phetioNamespace = require( 'PHET_IO/phetioNamespace' ); var TObject = require( 'PHET_IO/types/TObject' ); /** - * Wrapper type for boolean primitives - * @param {boolean} instance - * @param {string} phetioID - the full unique tandem name for the instance * @constructor */ - function TBoolean( instance, phetioID ) { - TObject.call( this, instance, phetioID ); - assertTypeOf( instance, 'boolean' ); + function TBoolean() { + assert && assert( false, 'should never be called' ); } phetioInherit( TObject, 'TBoolean', TBoolean, {}, { diff --git a/js/types/TString.js b/js/types/TString.js index f97979ff..22465a7c 100644 --- a/js/types/TString.js +++ b/js/types/TString.js @@ -10,20 +10,16 @@ define( function( require ) { 'use strict'; // modules - var assertTypeOf = require( 'PHET_IO/assertions/assertTypeOf' ); var phetioInherit = require( 'PHET_IO/phetioInherit' ); var phetioNamespace = require( 'PHET_IO/phetioNamespace' ); var TObject = require( 'PHET_IO/types/TObject' ); /** * Parametric wrapper type constructor for instrumented string instances. - * @param {string} instance - * @param {string} phetioID - the full unique tandem name for the instance * @constructor */ - function TString( instance, phetioID ) { - TObject.call( this, instance, phetioID ); - assertTypeOf( instance, 'string' ); + function TString() { + assert && assert( false, 'should never be called' ); } phetioInherit( TObject, 'TString', TString, {}, { diff --git a/js/types/TVoid.js b/js/types/TVoid.js index ba757fc0..e6283dbc 100644 --- a/js/types/TVoid.js +++ b/js/types/TVoid.js @@ -15,14 +15,10 @@ define( function( require ) { var TObject = require( 'PHET_IO/types/TObject' ); /** - * - * @param instance - * @param phetioID * @constructor */ - function TVoid( instance, phetioID ) { - TObject.call( this, instance, phetioID ); - assert && assert( false, 'cannot instantiate TVoid' ); + function TVoid() { + assert && assert( false, 'should never be called' ); } phetioInherit( TObject, 'TVoid', TVoid,