mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 05:06:11 +01:00
19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
export interface PSAData {
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface PSA {
|
|
data: PSAData | null;
|
|
}
|
|
|
|
export const psa: PSA = { data: null };
|
|
|
|
fetch(
|
|
'https://gist.githubusercontent.com/tresabhi/ed4b136f08856e615212e573aabe1968/raw',
|
|
)
|
|
.then((response) => response.json())
|
|
.then((data) => {
|
|
psa.data = data as PSAData;
|
|
});
|