mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-10 17:43:51 +00:00
Migrated to typescript the most complex reducer in the project
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Nullable } from '../../utils/utils';
|
||||
import { Nullable, OptionalString } from '../../utils/utils';
|
||||
|
||||
export interface ShortUrlData {
|
||||
longUrl: string;
|
||||
@@ -33,3 +33,8 @@ export interface ShortUrlModalProps {
|
||||
isOpen: boolean;
|
||||
toggle: () => void;
|
||||
}
|
||||
|
||||
export interface ShortUrlIdentifier {
|
||||
shortCode: string;
|
||||
domain: OptionalString;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user