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
export default function ({ types: t }) { | |
return { | |
visitor: { | |
VariableDeclarator: { | |
exit({ node }) { | |
var typedecl = t.typeAnnotation(); | |
typedecl.typeAnnotation = t.anyTypeAnnotation(); | |
node.id.typeAnnotation = typedecl; | |
} | |
} |
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
var plumber = require("gulp-plumber"); | |
var through = require("through2"); | |
var gutil = require("gulp-util"); | |
var gulp = require("gulp"); | |
var babel = require("gulp-babel"); | |
var watch = require("gulp-watch"); | |
var scripts = "./src/**/*.js"; | |
var dest = "build"; |
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
<rdf:RDF | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:dcterms="http://purl.org/dc/terms/" | |
xmlns:oslc="http://open-services.net/ns/core#" | |
xmlns:nav="http://jazz.net/ns/rm/navigation#" | |
xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/"> | |
<nav:folder rdf:about="https://greenfront.edinburgh.uk.ibm.com:9444/rdm/folders/_a42a43595c3c40bfb6700f3fd0c33090"> | |
<dcterms:title>_AMR System Requirements Specification artifacts</dcterms:title> | |
<dcterms:description></dcterms:description> | |
<nav:parent rdf:resource="https://greenfront.edinburgh.uk.ibm.com:9444/rdm/folders/_dc46b44a64a84f15a9a11b29b9dc30c0"/> |
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
public static <T> T getService(Object context, Class<T> service, String filter) { | |
Future<T> future = getServiceFuture(service, filter); | |
return Futures.getUnchecked(future); | |
} |