@cabloy/cli 3.0.100 → 3.0.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ export type TypeParseLanguage = 'plain' | 'json' | 'gogo' | '';
35
35
  export type TypeParseResult<LANGUAGE extends TypeParseLanguage> = LANGUAGE extends 'plain' ? string : LANGUAGE extends 'json' ? any : GoGoAST;
36
36
  export type TypeParseOptions<LANGUAGE extends TypeParseLanguage> = LANGUAGE extends 'plain' ? never : LANGUAGE extends 'json' ? never : ParserOptions;
37
37
  export interface ISnippet<LANGUAGE extends TypeParseLanguage = ''> {
38
- language: LANGUAGE;
38
+ language?: LANGUAGE;
39
39
  format?: boolean;
40
40
  file: string | ((ejsData: IEjsData) => string);
41
41
  init?: string | ((initData: IInitData) => Promise<string>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/cli",
3
- "version": "3.0.100",
3
+ "version": "3.0.101",
4
4
  "gitHead": "0eab9dc4a5622caffe89e7b1b3f02c08ccbc4c4b",
5
5
  "description": "@cabloy/cli",
6
6
  "keywords": [