Harmonize tsconfig for frontend and server.
This commit is contained in:
parent
894ee97fdf
commit
22bff3496a
30 changed files with 77 additions and 53 deletions
server/shared/utils
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Utility functions for JSON.
|
||||
*/
|
||||
import { isJSONValue, JSONObject, JSONValue } from "../types";
|
||||
import { isJSONValue, type JSONObject, type JSONValue } from "../types";
|
||||
|
||||
/**
|
||||
* Parses the given `string` and converts it into a {@link JSONValue}.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Utility functions for node related data.
|
||||
*/
|
||||
import { MAC, MapId } from "../types";
|
||||
import type { MAC, MapId } from "../types";
|
||||
|
||||
/**
|
||||
* Converts the MAC address of a Freifunk node to an id representing it on the community's node map.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Utility functions all around strings.
|
||||
*/
|
||||
import { isInteger, MAC } from "../types";
|
||||
import { isInteger, type MAC } from "../types";
|
||||
|
||||
/**
|
||||
* Trims the given `string` and replaces multiple whitespaces by one space each.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* Utility functions for "wibbly wobbly timey wimey" stuff.
|
||||
*/
|
||||
import { UnixTimestampMilliseconds, UnixTimestampSeconds } from "../types";
|
||||
import type { UnixTimestampMilliseconds, UnixTimestampSeconds } from "../types";
|
||||
|
||||
/**
|
||||
* Converts an {@link UnixTimestampMilliseconds} to an {@link UnixTimestampSeconds} rounding down.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue