diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-30 13:43:04 -0400 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-30 13:43:04 -0400 |
| commit | c53d721dd95bdb4ccddc7a89dbdda72a88d29058 (patch) | |
| tree | db1093ff2f233dd574a48b4df66e538ef5cfc3b7 /src/client/northstar/utils | |
| parent | 916aa5377a9f105cd128264f46c83b987861c713 (diff) | |
model sharing
Diffstat (limited to 'src/client/northstar/utils')
| -rw-r--r-- | src/client/northstar/utils/Extensions.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/northstar/utils/Extensions.ts b/src/client/northstar/utils/Extensions.ts index df14d4da0..ab9384f1f 100644 --- a/src/client/northstar/utils/Extensions.ts +++ b/src/client/northstar/utils/Extensions.ts @@ -1,6 +1,8 @@ interface String { ReplaceAll(toReplace: string, replacement: string): string; Truncate(length: number, replacement: string): String; + removeTrailingNewlines(): string; + hasNewline(): boolean; } String.prototype.ReplaceAll = function (toReplace: string, replacement: string): string { |
