From 59c25d27a7ed53f086fe17eb84359fa8b01bf760 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 26 Jun 2019 14:33:10 -0600 Subject: [PATCH] Allow JS snippets to be used in Flow files Flow files are actually handled by `language-typescript`, but the JS snippets should all be applicable in that context. --- snippets/language-javascript.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/language-javascript.cson b/snippets/language-javascript.cson index c8064854..0da1e337 100644 --- a/snippets/language-javascript.cson +++ b/snippets/language-javascript.cson @@ -1,4 +1,4 @@ -'.source.js': +'.source.js, .source.flow': 'Object Method': 'prefix': 'kf' 'body': '${1:methodName}: function (${2:attribute}) {\n\t$3\n}${4:,}'