{ pkgs, lib, ... }: { extraPackages = with pkgs; [ nodejs typescript ]; plugins.typescript-tools = { enable = true; settings = { jsx_close_tag.enable = true; tsserver_file_preferences = { __raw = '' function(ft) return { includeInlayParameterNameHints = "all", includeCompletionsForModuleExports = true, quotePreference = "auto", } end ''; }; tsserver_format_options = { __raw = '' function(ft) return { allowIncompleteCompletions = false, allowRenameOfImportPath = false, } end ''; }; tsserver_plugins = [ "@styled/typescript-styled-plugin" ]; }; }; }