22 +----------------------------------------------------------------------+
33 | LiteRT Clap.js Library |
44 +----------------------------------------------------------------------+
5- | Copyright (c) 2007-2017 Fenying Studio |
5+ | Copyright (c) 2018 Fenying Studio |
66 +----------------------------------------------------------------------+
77 | This source file is subject to version 2.0 of the Apache license, |
88 | that is bundled with this package in the file LICENSE, and is |
99 | available through the world-wide-web at the following url: |
1010 | https://github.com/litert/clap.js/blob/master/LICENSE |
1111 +----------------------------------------------------------------------+
12- | Authors: Angus Fenying <i.am.x. fenying@gmail.com> |
12+ | Authors: Angus Fenying <fenying@litert.org> |
1313 +----------------------------------------------------------------------+
1414 */
1515
@@ -19,7 +19,7 @@ import * as Internal from "./internal";
1919
2020export class ParseResult implements Internal . IParseResult {
2121
22- protected _success : boolean ;
22+ protected _success ! : boolean ;
2323
2424 protected _error ?: Exception ;
2525
@@ -137,9 +137,9 @@ export class ParseResult implements Internal.IParseResult {
137137
138138export class CommandParseResult extends ParseResult implements Internal . ICommandParseResult {
139139
140- protected _mainCommand : string ;
140+ protected _mainCommand ! : string ;
141141
142- protected _subCommand : string ;
142+ protected _subCommand ! : string ;
143143
144144 public constructor ( ) {
145145
0 commit comments