From d7ac46b97e102482c6669adc17f5caa59cb1a865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Derriey?= Date: Fri, 19 Jul 2024 17:53:35 +0200 Subject: [PATCH] Fix `declare module` example Hey there, Awesome content, thanks a lot! I hope I have the fix right, see . --- book-content/chapters/13-modules-scripts-declaration-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book-content/chapters/13-modules-scripts-declaration-files.md b/book-content/chapters/13-modules-scripts-declaration-files.md index 2c951ee..10d4438 100644 --- a/book-content/chapters/13-modules-scripts-declaration-files.md +++ b/book-content/chapters/13-modules-scripts-declaration-files.md @@ -388,7 +388,7 @@ Like before, we are not including any implementation code in the `.d.ts` file– Once the `duration-utils.d.ts` file is created, the module can be imported and used as usual: ```typescript -import { formatDuration, parseTrackData } from "music-utils"; +import { formatDuration } from "duration-utils"; const formattedTime = formatDuration(309); ```