mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(resources): Silence the TS compiler
This commit is contained in:
1 parent
42b2970428
commit
54d456cc8a
2 files changed
+5
-5
No files matched your search
@@ -25,7 +25,7 @@ on('playerDropped', () => {
|
|||||||
const src = getSource();
|
const src = getSource();
|
||||||
// Get identifier for player to remove
|
// Get identifier for player to remove
|
||||||
try {
|
try {
|
||||||
PlayerService.handleUnloadPlayerEvent(src, true);
|
PlayerService.handleUnloadPlayerEvent(src);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
playerLogger.debug(`${src} failed to unload, likely was never loaded in the first place.`);
|
playerLogger.debug(`${src} failed to unload, likely was never loaded in the first place.`);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import apps from './apps';
|
import apps from './apps';
|
||||||
|
|
||||||
export function sendMessage(app: string, method: string, data: any): void {
|
export function sendMessage(app: string, method: string, data: any): void {
|
||||||
return SendNuiMessage(
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
JSON.stringify({
|
// @ts-ignore
|
||||||
|
return SendNUIMessage({
|
||||||
app,
|
app,
|
||||||
method,
|
method,
|
||||||
data,
|
data,
|
||||||
}),
|
});
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function sendTwitterMessage(method: string, data: any = {}): void {
|
export function sendTwitterMessage(method: string, data: any = {}): void {
|
||||||
|
|||||||
Reference in new issue
Block a user