Skip to content

Instantly share code, notes, and snippets.

@diverted247
Created February 27, 2014 18:58
Show Gist options
  • Select an option

  • Save diverted247/9256691 to your computer and use it in GitHub Desktop.

Select an option

Save diverted247/9256691 to your computer and use it in GitHub Desktop.
Porting TS 0.8.3 to TS 0.9.7
/build/app/app.ts(145,35): error TS1015: Parameter cannot have question mark and initializer.
/build/app/app.ts(801,34): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/FontManager.ts(114,48): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/FontManager.ts(175,53): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/ServiceManager.ts(670,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/managers/ErrorManager.ts(66,37): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/ErrorManager.ts(70,39): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/ErrorManager.ts(74,36): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/ErrorManager.ts(78,37): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/ImageManager.ts(400,65): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/TooltipManager.ts(29,57): error TS1015: Parameter cannot have question mark and initializer.
/build/app/managers/PeepsManager.ts(61,34): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/BaseControl.ts(121,16): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/BaseControl.ts(631,31): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/Bounds.ts(56,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/Bounds.ts(65,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/Bounds.ts(69,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/Text.ts(149,24): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/CompositeText.ts(38,68): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/CompositeText.ts(456,16): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/CompositeText.ts(540,19): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/CompositeText.ts(1013,55): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/ControlUI.ts(206,48): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/ControlUI.ts(402,50): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/Image.ts(50,69): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/Image.ts(1368,16): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/Image.ts(1903,23): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/Paperstock.ts(168,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/Paperstock.ts(173,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/LiveArea.ts(91,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/LiveArea.ts(102,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/LiveArea.ts(109,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected.
/build/app/controls/ComponentFactory.ts(165,83): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/DOMText.ts(160,55): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/ZoomNav.ts(145,17): error TS1015: Parameter cannot have question mark and initializer.
/build/app/controls/Peep.ts(138,23): error TS1015: Parameter cannot have question mark and initializer.
/build/app/views/ZoomControlView.ts(146,20): error TS1015: Parameter cannot have question mark and initializer.
/build/app/views/dialogs/PhotoUpload.ts(74,17): error TS1015: Parameter cannot have question mark and initializer.
/build/app/views/dialogs/PeepsEditor.ts(164,37): error TS1015: Parameter cannot have question mark and initializer.
/build/app/utils/util.ts(475,33): error TS1015: Parameter cannot have question mark and initializer.
/build/app/utils/util.ts(633,51): error TS1015: Parameter cannot have question mark and initializer.
/build/app/utils/util.ts(739,96): error TS1015: Parameter cannot have question mark and initializer.
/build/app/utils/EncodingUtils.ts(26,48): error TS1015: Parameter cannot have question mark and initializer.
/build/app/utils/LoggingUtil.ts(17,16): error TS1029: 'private' modifier must precede 'static' modifier.
/build/app/utils/LoggingUtil.ts(32,16): error TS1029: 'private' modifier must precede 'static' modifier.
/build/app/models/Layout.ts(466,37): error TS1015: Parameter cannot have question mark and initializer.
/build/app/editors/TextEdit.ts(205,46): error TS2068: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment