@bodil/core 0.2.1 → 0.2.2
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/fun.d.ts +4 -0
- package/dist/fun.js +6 -0
- package/dist/fun.js.map +1 -1
- package/package.json +1 -1
- package/src/fun.ts +7 -0
package/dist/fun.d.ts
CHANGED
|
@@ -6,3 +6,7 @@ export declare function always<A>(value: A): () => A;
|
|
|
6
6
|
* The identity function: it just returns its argument unchanged.
|
|
7
7
|
*/
|
|
8
8
|
export declare function id<A>(value: A): A;
|
|
9
|
+
/**
|
|
10
|
+
* A function which does nothing and returns `void`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function nop(): void;
|
package/dist/fun.js
CHANGED
package/dist/fun.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fun.js","sourceRoot":"","sources":["../src/fun.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,UAAU,MAAM,CAAI,KAAQ;IAC9B,OAAO,GAAG,EAAE,CAAC,KAAK,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,EAAE,CAAI,KAAQ;IAC1B,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
|
1
|
+
{"version":3,"file":"fun.js","sourceRoot":"","sources":["../src/fun.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,UAAU,MAAM,CAAI,KAAQ;IAC9B,OAAO,GAAG,EAAE,CAAC,KAAK,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,EAAE,CAAI,KAAQ;IAC1B,OAAO,KAAK,CAAC;AACjB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,GAAG;IACf,MAAM;AACV,CAAC"}
|
package/package.json
CHANGED