diff --git a/.github/.keepalive b/.github/.keepalive
deleted file mode 100644
index 0f8f0a8..0000000
--- a/.github/.keepalive
+++ /dev/null
@@ -1 +0,0 @@
-2023-08-01T05:59:55.180Z
diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml
index 334eb59..91f2b93 100644
--- a/.github/workflows/productionize.yml
+++ b/.github/workflows/productionize.yml
@@ -82,21 +82,6 @@ jobs:
id: transform-error-messages
uses: stdlib-js/transform-errors-action@main
- # Format error messages:
- - name: 'Replace double quotes with single quotes in rewritten format string error messages'
- run: |
- find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
-
- # Format string literal error messages:
- - name: 'Replace double quotes with single quotes in rewritten string literal error messages'
- run: |
- find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
-
- # Format code:
- - name: 'Replace double quotes with single quotes in inserted `require` calls'
- run: |
- find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
-
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
- name: 'Update dependencies in package.json'
run: |
diff --git a/dist/index.d.ts b/dist/index.d.ts
new file mode 100644
index 0000000..a69dad8
--- /dev/null
+++ b/dist/index.d.ts
@@ -0,0 +1,3 @@
+///
+import incrmda from '../docs/types/index';
+export = incrmda;
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..1f52464
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";var f=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var m=f(function(p,c){
+var q=require('@stdlib/stats-incr-mean/dist'),s=require('@stdlib/math-base-special-signum/dist'),g=require('@stdlib/math-base-special-kronecker-delta/dist');function l(){var e,r,a,n;return e=q(),o;function o(t,u){var i,v;return arguments.length===0?e():(r===void 0&&(r=!0,a=t,n=u),i=s(t-a),v=s(u-n),a=t,n=u,e(g(i,v)))}}c.exports=l
+});var d=m();module.exports=d;
+/** @license Apache-2.0 */
+//# sourceMappingURL=index.js.map
diff --git a/dist/index.js.map b/dist/index.js.map
new file mode 100644
index 0000000..8f7beab
--- /dev/null
+++ b/dist/index.js.map
@@ -0,0 +1,7 @@
+{
+ "version": 3,
+ "sources": ["../lib/main.js", "../lib/index.js"],
+ "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar incrmean = require( '@stdlib/stats-incr-mean' );\nvar signum = require( '@stdlib/math-base-special-signum' );\nvar kroneckerDelta = require( '@stdlib/math-base-special-kronecker-delta' );\n\n\n// MAIN //\n\n/**\n* Returns an accumulator function which incrementally computes the mean directional accuracy.\n*\n* @returns {Function} accumulator function\n*\n* @example\n* var accumulator = incrmda();\n*\n* var m = accumulator();\n* // returns null\n*\n* m = accumulator( 2.0, 3.0 );\n* // returns 1.0\n*\n* m = accumulator( -5.0, 4.0 );\n* // returns 0.5\n*\n* m = accumulator();\n* // returns 0.5\n*/\nfunction incrmda() {\n\tvar mean;\n\tvar FLG;\n\tvar f0;\n\tvar a0;\n\n\tmean = incrmean();\n\treturn accumulator;\n\n\t/**\n\t* If provided a value, the accumulator function returns an updated mean directional accuracy. If not provided a value, the accumulator function returns the current mean directional accuracy.\n\t*\n\t* @private\n\t* @param {number} [f] - forecast value\n\t* @param {number} [a] - actual value\n\t* @returns {(number|null)} mean directional accuracy or null\n\t*/\n\tfunction accumulator( f, a ) {\n\t\tvar sf;\n\t\tvar sa;\n\t\tif ( arguments.length === 0 ) {\n\t\t\treturn mean();\n\t\t}\n\t\tif ( FLG === void 0 ) {\n\t\t\tFLG = true;\n\t\t\tf0 = f;\n\t\t\ta0 = a;\n\t\t}\n\t\tsf = signum( f-f0 );\n\t\tsa = signum( a-a0 );\n\t\tf0 = f;\n\t\ta0 = a;\n\t\treturn mean( kroneckerDelta( sf, sa ) );\n\t}\n}\n\n\n// EXPORTS //\n\nmodule.exports = incrmda;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Compute the mean directional accuracy (MDA) incrementally.\n*\n* @module @stdlib/stats-incr-mda\n*\n* @example\n* var incrmda = require( '@stdlib/stats-incr-mda' );\n*\n* var accumulator = incrmda();\n*\n* var m = accumulator();\n* // returns null\n*\n* m = accumulator( 2.0, 3.0 );\n* // returns 1.0\n*\n* m = accumulator( -5.0, 4.0 );\n* // returns 0.5\n*\n* m = accumulator();\n* // returns 0.5\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
+ "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAW,QAAS,yBAA0B,EAC9CC,EAAS,QAAS,kCAAmC,EACrDC,EAAiB,QAAS,2CAA4C,EAyB1E,SAASC,GAAU,CAClB,IAAIC,EACAC,EACAC,EACAC,EAEJ,OAAAH,EAAOJ,EAAS,EACTQ,EAUP,SAASA,EAAaC,EAAGC,EAAI,CAC5B,IAAIC,EACAC,EACJ,OAAK,UAAU,SAAW,EAClBR,EAAK,GAERC,IAAQ,SACZA,EAAM,GACNC,EAAKG,EACLF,EAAKG,GAENC,EAAKV,EAAQQ,EAAEH,CAAG,EAClBM,EAAKX,EAAQS,EAAEH,CAAG,EAClBD,EAAKG,EACLF,EAAKG,EACEN,EAAMF,EAAgBS,EAAIC,CAAG,CAAE,EACvC,CACD,CAKAb,EAAO,QAAUI,IC3CjB,IAAIU,EAAO,IAKX,OAAO,QAAUA",
+ "names": ["require_main", "__commonJSMin", "exports", "module", "incrmean", "signum", "kroneckerDelta", "incrmda", "mean", "FLG", "f0", "a0", "accumulator", "f", "a", "sf", "sa", "main"]
+}
diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts
index 66b2006..227e368 100644
--- a/docs/types/index.d.ts
+++ b/docs/types/index.d.ts
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-// TypeScript Version: 2.0
+// TypeScript Version: 4.1
///