fix(typescript): tighten TypeScript typings and modernize project tooling configuration

This commit is contained in:
2026-05-01 16:30:12 +00:00
parent dc53984a77
commit d8b0da1826
13 changed files with 3964 additions and 5732 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { expect, tap } from '@push.rocks/tapbundle';
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as smartpromise from '../ts/index.js';
tap.test('should return a Deferred for .defer()', async () => {
@@ -17,7 +17,7 @@ tap.test('should let types flow through the Promise', async () => {
tap.test('should map callbacks', async () => {
const inputArray = ['hi', 'awesome'];
const myPromisified = async (myInput) => {
const myPromisified = async (myInput: string) => {
return myInput;
};
const result = await smartpromise.map(inputArray, myPromisified);