This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
zulip
mirror of
https://github.com/zulip/zulip.git
Watch
1
Star
0
Fork
You've already forked zulip
0
Code
Issues
Projects
Releases
Wiki
Activity
d9716bc189
zulip
/
web
/
src
/
assets.d.ts
10 lines
149 B
TypeScript
Raw
Normal View
History
Unescape
Escape
ts: Pull in static assets via import.
2023-02-03 18:01:50 +01:00
declare
module
"*.svg"
{
const
url
:
string
;
export
default
url
;
}
ts migration: Convert `favicon.js` to `favicon.ts`. Added type annotations to function parameters, function return values and local variables. Added neccessary `if` statements to enforce the objects having proper type before executing the later operations. An error type check in the catch block in `update_favicon` function is added because the statement in the catch block requires error to be a type `Error` in order to access `error.stack`.
2023-03-24 22:02:09 +01:00
declare
module
"*.ttf"
{
const
url
:
string
;
export
default
url
;
}