UNPKG
@allincart-ag/dive
Version:
beta (2.0.1-beta.10)
latest (2.0.1-beta.8)
2.0.1-beta.10
2.0.1-beta.8
1.19.0
Allincart Spatial Framework
github.com/shopware/dive
shopware/dive
@allincart-ag/dive
/
build
/
src
/
helpers
/
getFileTypeFromUri
/
getFileTypeFromUri.d.ts
7 lines
(6 loc)
•
256 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Extracts the file extension from a URI *
@param
uri The URI to extract the extension from *
@returns
The file extension in lowercase, or an empty string if no extension is found */
export
declare
function
getFileTypeFromUri
(
uri:
string
):
string
;