Skip to content

Commit b1248c6

Browse files
author
Sven Ulrich
committed
updatedeps: fix module
1 parent 10b02d2 commit b1248c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export declare const empty = "";
2-
export declare function isNullOrWhiteSpace(value: string | null | undefined): boolean;
2+
export declare function isNullOrWhiteSpace(value: string | null): boolean;
33
export declare function join(delimiter: string, ...args: (string | object | Array<any>)[]): string;
44
export declare function format(format: string, ...args: any[]): string;
55
export declare class String {
@@ -22,7 +22,7 @@ export declare class String {
2222
* @deprecated The method should not be used, and will be removed in future version!s Use `String.format()` instead.
2323
*/
2424
static Format(format: string, ...args: any[]): string;
25-
static isNullOrWhiteSpace(value: string | null | undefined): boolean;
25+
static isNullOrWhiteSpace(value: string | null): boolean;
2626
static join(delimiter: string, ...args: (string | object | Array<any>)[]): string;
2727
static format(format: string, ...args: any[]): string;
2828
private static formatString;

tests/tests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { String, StringBuilder, isNullOrWhiteSpace, format, join } from '../index';
1+
import { String, StringBuilder, isNullOrWhiteSpace, format, join } from '..';
22
import { Fruit } from './fruit';
33
import { expect } from 'chai';
44
import 'mocha';

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"noImplicitAny": true,
77
"removeComments": false,
88
"target": "ES2022",
9-
"module": "ES2022",
9+
"module": "nodenext",
1010
"outDir": "./dist",
1111
"esModuleInterop": true,
1212
"skipLibCheck": true,

0 commit comments

Comments
 (0)