summaryrefslogtreecommitdiff
path: root/cli/tsc.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-12-16 06:34:39 +1100
committerGitHub <noreply@github.com>2020-12-16 06:34:39 +1100
commit892d6cc99749247884fdbe2d89ca13def3af8bdb (patch)
treedc77d1da3e96876882b309f554921b290a80026b /cli/tsc.rs
parent6356345365e766d984f591506fb475d7935685de (diff)
refactor(lsp): optimise static assets (#8771)
Fixes #8158
Diffstat (limited to 'cli/tsc.rs')
-rw-r--r--cli/tsc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc.rs b/cli/tsc.rs
index 69373b2fa..d6de4e122 100644
--- a/cli/tsc.rs
+++ b/cli/tsc.rs
@@ -26,7 +26,7 @@ use std::path::PathBuf;
use std::rc::Rc;
/// Provide static assets that are not preloaded in the compiler snapshot.
-fn get_asset(asset: &str) -> Option<&'static str> {
+pub fn get_asset(asset: &str) -> Option<&'static str> {
macro_rules! inc {
($e:expr) => {
Some(include_str!(concat!("dts/", $e)))