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