This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ScriptEditorService = game:GetService("ScriptEditorService") | |
local SNIPPET_NAME = "new_class" | |
local SNIPPET_DESC = "Create a new prototype class with an export type defined!" | |
local SNIPPET = table.concat({ | |
"local ${1:%s} = {}", | |
"${1}.__index = ${1}", | |
"", | |
"export type Class = typeof(setmetatable({} :: {", |