Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

refactor: the vendor-plat.ios.ts is used as JavaScript in JavaScript projects, remove typings #335

Merged
merged 2 commits into from
Dec 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/vendor-platform.ios.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// There is a bug in angular: https://github.com/angular/angular-cli/pull/8589/files
// Legendary stuff, its webpack plugin pretty much doesn't work with empty TypeScript files in v1.8.3
(<any>global).noOp;
void 0;
2 changes: 1 addition & 1 deletion templates/vendor.angular.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Snapshot the ~/app.css and the theme
const application = require("application");
require("ui/styling/style-scope");
global.registerModule("app.css", () => require("~/app.css"));
global.registerModule("app.css", function() { return require("~/app.css"); });
application.loadAppCss();

require("./vendor-platform");
Expand Down
2 changes: 1 addition & 1 deletion templates/vendor.nativescript.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Snapshot the ~/app.css and the theme
const application = require("application");
require("ui/styling/style-scope");
global.registerModule("app.css", () => require("~/app.css"));
global.registerModule("app.css", function() { return require("~/app.css"); });
application.loadAppCss();

require("./vendor-platform");
Expand Down