Update index.d.ts

This commit is contained in:
Sindre Sorhus 2020-09-24 15:53:55 +02:00 committed by İlker Yıldırım
parent 673c93462f
commit aaae10946f
1 changed files with 1 additions and 1 deletions

2
index.d.ts vendored
View File

@ -53,7 +53,7 @@ declare const pTimeout: {
default: typeof pTimeout;
/**
Timeout a promise after a specified amount of time. It returns a decorated promise having `.clear()` method to be able to clear timeout.
Timeout a promise after a specified amount of time.
If you pass in a cancelable promise, specifically a promise with a `.cancel()` method, that method will be called when the `pTimeout` promise times out.