@mojir/lits 1.2.2-alpha.6 → 1.2.2-alpha.7
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.
- package/dist/cli/cli.js +1 -1
- package/dist/cli/src/identifier.d.ts +0 -6
- package/dist/cli/src/index.d.ts +1 -1
- package/dist/index.esm.js +2 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -13
- package/dist/index.js.map +1 -1
- package/dist/lits.iife.js +3 -13
- package/dist/lits.iife.js.map +1 -1
- package/dist/src/identifier.d.ts +0 -6
- package/dist/src/index.d.ts +1 -1
- package/dist/testFramework.esm.js +1 -1
- package/dist/testFramework.esm.js.map +1 -1
- package/dist/testFramework.js +1 -1
- package/dist/testFramework.js.map +1 -1
- package/package.json +1 -1
package/dist/src/identifier.d.ts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
export type Identifier = string & {
|
|
2
|
-
__brand: 'Identifier';
|
|
3
|
-
};
|
|
4
1
|
export declare const identifierCharacterClass = "[\\w@%^?=!$<>+*/:-]";
|
|
5
2
|
export declare const identifierFirstCharacterClass = "[a-zA-Z_@%^?=!$<>+*/-]";
|
|
6
|
-
export declare const identifierRegExp: RegExp;
|
|
7
|
-
export declare function isIdentifier(value: string): value is Identifier;
|
|
8
|
-
export declare function assertIdentifier(value: string): asserts value is Identifier;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export { apiReference, isDatatypeReference, isFunctionReference, isNormalExpress
|
|
|
14
14
|
export type { Argument, CommonReference, DatatypeReference, FunctionReference, Reference, ShorthandReference } from '../reference';
|
|
15
15
|
export type { ApiName, FunctionName, ShorthandName, DatatypeName } from '../reference/api';
|
|
16
16
|
export { isApiName, isDataType } from '../reference/api';
|
|
17
|
-
export {
|
|
17
|
+
export { identifierCharacterClass, identifierFirstCharacterClass } from './identifier';
|