Skip to content

Commit 29995cb

Browse files
author
Dimitar Kerezov
committed
Fixing PR Comments
1 parent 64dc4c2 commit 29995cb

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

lib/common

Submodule common updated 79 files

lib/messages.d.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
///<reference path=".d.ts"/>
12
//
23
// automatically generated code; do not edit manually!
34
//
4-
///<reference path=".d.ts"/>
55
interface IMessages{
6-
DEVICES : {
7-
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE: string;
8-
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE_WITH_IDENTIFIER: string;
9-
NOT_FOUND_DEVICE_BY_INDEX_ERROR_MESSAGE: string;
6+
Devices : {
7+
NotFoundDeviceByIdentifierErrorMessage: string;
8+
NotFoundDeviceByIdentifierErrorMessageWithIdentifier: string;
9+
NotFoundDeviceByIndexErrorMessage: string;
1010
};
1111

1212
}

lib/messages.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
///<reference path=".d.ts"/>
2+
"use strict";
23
//
34
// automatically generated code; do not edit manually!
45
//
5-
"use strict";
66

77
export class Messages implements IMessages{
8-
DEVICES = {
9-
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE: "DEVICES.NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE",
10-
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE_WITH_IDENTIFIER: "DEVICES.NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE_WITH_IDENTIFIER",
11-
NOT_FOUND_DEVICE_BY_INDEX_ERROR_MESSAGE: "DEVICES.NOT_FOUND_DEVICE_BY_INDEX_ERROR_MESSAGE",
8+
Devices = {
9+
NotFoundDeviceByIdentifierErrorMessage: "Devices.NotFoundDeviceByIdentifierErrorMessage",
10+
NotFoundDeviceByIdentifierErrorMessageWithIdentifier: "Devices.NotFoundDeviceByIdentifierErrorMessageWithIdentifier",
11+
NotFoundDeviceByIndexErrorMessage: "Devices.NotFoundDeviceByIndexErrorMessage",
1212
};
1313

1414
}

lib/nativescript-cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fiber(() => {
1717

1818
let commandDispatcher: ICommandDispatcher = $injector.resolve("commandDispatcher");
1919

20-
let messages = <IMessagesService>$injector.resolve("$messagesService");
20+
let messages: IMessagesService = $injector.resolve("$messagesService");
2121
messages.pathsToMessageJsonFiles = [/* Place client-specific json message file paths here */];
2222

2323
if (process.argv[2] === "completion") {

0 commit comments

Comments
 (0)