Skip to content

Commit

Permalink
BREAKING(media_types): deprecate typeByExtension (denoland#3622)
Browse files Browse the repository at this point in the history
  • Loading branch information
lino-levan committed Sep 6, 2023
1 parent 51cfcb6 commit 852207e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media_types/type_by_extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import { types } from "./_db.ts";

/**
* @deprecated (will be removed in 0.209.0) Use `contentType` instead.
*
* Returns the media type associated with the file extension. Values are
* normalized to lower case and matched irrespective of a leading `.`.
*
Expand Down

0 comments on commit 852207e

Please sign in to comment.