@fncts/pattern 0.0.12 → 0.0.13
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/_cjs/index.cjs.map +1 -1
- package/_mjs/index.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/package.json +2 -2
package/_cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["_tsPattern","require","match","_match","exports"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,gBAAAC,OAAA;AAEA;;;AAGO,MAAMC,KAAK,GAAGC,gBAAM;AAACC,OAAA,CAAAF,KAAA,GAAAA,KAAA"}
|
package/_mjs/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","mappings":"AAAA,SAASA,KAAK,IAAIC,MAAM,QAAQ,YAAY;AAE5C;;;AAGA,OAAO,MAAMD,KAAK,GAAGC,MAAM;AAE3B,SAASC,UAAU,EAAEC,CAAC,EAAEC,OAAO,QAAQ,YAAY"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["match","_match","isMatching","P","Pattern"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAK,IAAIC,MAAM,QAAQ,YAAY;AAE5C;;;AAGA,OAAO,MAAMD,KAAK,GAAGC,MAAM;AAE3B,SAASC,UAAU,EAAEC,CAAC,EAAEC,OAAO,QAAQ,YAAY"}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { match as _match } from "ts-pattern";
|
|
1
2
|
/**
|
|
2
3
|
* @tsplus getter global match
|
|
3
4
|
* @tsplus location "@fncts/pattern/index"
|
|
4
5
|
*/
|
|
5
|
-
export declare const match:
|
|
6
|
+
export declare const match: typeof _match;
|
|
6
7
|
export { isMatching, P, Pattern } from "ts-pattern";
|